<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Forms extends CI_Controller {
    
    public function __construct(){
        parent::__construct();
        
        $this->load->view('header', array('controller' => 'forms'));
    }

    public function index(){
        $this->load->model('Form');
        $data['forms'] = $this->Form->getList();
        $this->load->view('forms/index', $data);
    }
}